package com.mock.Dao.impl;

import com.mock.Dao.PersonDao;
import com.mock.entity.Person;

import java.sql.SQLException;
import java.util.List;

public class PersonDaoImpl extends BaseDao implements PersonDao {
    @Override
    public List<Person> selectPersons(Object...objs) throws SQLException {
        List<Person> res = selectList(Person.class,"SELECT * FROM test limit ?,?",objs);
        return res;
    }
}
